argocd-application-controller Command Reference

argocd-application-controller

Run ArgoCD Application Controller

Synopsis

ArgoCD application controller is a Kubernetes controller that continuously monitors running applications and compares the current, live state against the desired target state (as specified in the repo). This command runs Application Controller in the foreground. It can be configured by following options.

  1. argocd-application-controller [flags]

Options

  1. --app-hard-resync int Time period in seconds for application hard resync.
  2. --app-resync int Time period in seconds for application resync. (default 180)
  3. --app-state-cache-expiration duration Cache expiration for app state (default 1h0m0s)
  4. --application-namespaces strings List of additional namespaces that applications are allowed to be reconciled from
  5. --as string Username to impersonate for the operation
  6. --as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
  7. --as-uid string UID to impersonate for the operation
  8. --certificate-authority string Path to a cert file for the certificate authority
  9. --client-certificate string Path to a client certificate file for TLS
  10. --client-key string Path to a client key file for TLS
  11. --cluster string The name of the kubeconfig cluster to use
  12. --context string The name of the kubeconfig context to use
  13. --default-cache-expiration duration Cache expiration default (default 24h0m0s)
  14. --dynamic-cluster-distribution-enabled Enables dynamic cluster distribution.
  15. --gloglevel int Set the glog logging level
  16. -h, --help help for argocd-application-controller
  17. --ignore-normalizer-jq-execution-timeout-seconds duration Set ignore normalizer JQ execution timeout
  18. --insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
  19. --kubeconfig string Path to a kube config. Only required if out-of-cluster
  20. --kubectl-parallelism-limit int Number of allowed concurrent kubectl fork/execs. Any value less than 1 means no limit. (default 20)
  21. --logformat string Set the logging format. One of: text|json (default "text")
  22. --loglevel string Set the logging level. One of: debug|info|warn|error (default "info")
  23. --metrics-application-labels strings List of Application labels that will be added to the argocd_application_labels metric
  24. --metrics-cache-expiration duration Prometheus metrics cache expiration (disabled by default. e.g. 24h0m0s)
  25. --metrics-port int Start metrics server on given port (default 8082)
  26. -n, --namespace string If present, the namespace scope for this CLI request
  27. --operation-processors int Number of application operation processors (default 10)
  28. --otlp-address string OpenTelemetry collector address to send traces to
  29. --otlp-attrs strings List of OpenTelemetry collector extra attrs when send traces, each attribute is separated by a colon(e.g. key:value)
  30. --password string Password for basic authentication to the API server
  31. --persist-resource-health Enables storing the managed resources health in the Application CRD (default true)
  32. --proxy-url string If provided, this URL will be used to connect via proxy
  33. --redis string Redis server hostname and port (e.g. argocd-redis:6379).
  34. --redis-ca-certificate string Path to Redis server CA certificate (e.g. /etc/certs/redis/ca.crt). If not specified, system trusted CAs will be used for server certificate validation.
  35. --redis-client-certificate string Path to Redis client certificate (e.g. /etc/certs/redis/client.crt).
  36. --redis-client-key string Path to Redis client key (e.g. /etc/certs/redis/client.crt).
  37. --redis-compress string Enable compression for data sent to Redis with the required compression algorithm. (possible values: gzip, none) (default "gzip")
  38. --redis-insecure-skip-tls-verify Skip Redis server certificate validation.
  39. --redis-use-tls Use TLS when connecting to Redis.
  40. --redisdb int Redis database.
  41. --repo-server string Repo server address. (default "argocd-repo-server:8081")
  42. --repo-server-plaintext Disable TLS on connections to repo server
  43. --repo-server-strict-tls Whether to use strict validation of the TLS cert presented by the repo server
  44. --repo-server-timeout-seconds int Repo server RPC call timeout seconds. (default 60)
  45. --request-timeout string The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0")
  46. --self-heal-timeout-seconds int Specifies timeout between application self heal attempts (default 5)
  47. --sentinel stringArray Redis sentinel hostname and port (e.g. argocd-redis-ha-announce-0:6379).
  48. --sentinelmaster string Redis sentinel master group name. (default "master")
  49. --server string The address and port of the Kubernetes API server
  50. --sharding-method string Enables choice of sharding method. Supported sharding methods are : [legacy, round-robin] (default "legacy")
  51. --status-processors int Number of application status processors (default 20)
  52. --tls-server-name string If provided, this name will be used to validate server certificate. If this is not provided, hostname used to contact the server is used.
  53. --token string Bearer token for authentication to the API server
  54. --user string The name of the kubeconfig user to use
  55. --username string Username for basic authentication to the API server